const express =require('express');
const TopicAction = require('../../action/topicAction');
let router = express.Router();

router.post('/list', function (req, res) {
    TopicAction.pcList(req.body).then(res.res, res.rej);
});
router.post('/delete', function (req, res) {
    TopicAction.pcDeleteTopic(req.body).then(res.res, res.rej);
});

module.exports = router;